WP_Defender\Component\Blacklist_Lockout S

Total Complexity 50
Dependencies 6
Dependents 9
Total lines 344
Lines of code 217
Logical lines of code 112
Comment lines 90
Methods 13
Properties 0

Methods 13

Method Rating Maintainability Complexity Lines of code
is_geodb_downloaded()
B
40 18 58
is_country_blacklist()
S
56 6 18
verify_import_file()
S
56 5 18
is_country_whitelist()
S
58 5 15
get_top_countries_blocked()
S
54 3 21
output_scripts_data()
S
50 2 31
get_default_ip_whitelisted()
S
56 2 20
add_default_whitelisted_country()
S
66 3 8
is_ip_whitelisted()
S
68 2 7
add_hooks()
S
79 1 3
is_blacklist()
S
75 1 4
get_blc_ip_whitelisted()
S
71 1 7
is_blc_ip_whitelisted()
S
70 1 7